/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uniriotec.pm.empresa.util;

import uniriotec.pm.empresa.dao.DaoFactory;
import uniriotec.pm.empresa.dao.xml.XmlDaoFactory;



/**
 *
 * @author fernandofot
 */
public class DAOUtil {

    private static final DaoFactory daoFactory = buildDAOFactory();

    private static DaoFactory buildDAOFactory() {
        return new XmlDaoFactory();
    }

    public static DaoFactory getDAOFactory() {
        return daoFactory;
    }
}
